package cn.ml.gaoJi.jiHe.map;

import cn.ml.entity.Student;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class MapDemo2 {
    public static void main(String[] args) {
        Map students = new HashMap();

        List<Student> studentList = new ArrayList<>();


        Student s1 = new Student(1,"李小明","男",18,1.76, LocalDate.of(2001,3,23), new BigDecimal(1111));
        Student s2 = new Student(2,"张小丽","女",18,1.61,LocalDate.of(2001,6,3), new BigDecimal(1111));
        Student s3 = new Student(3,"王大朋","男",19,1.82, LocalDate.of(2000,3,11), new BigDecimal(1111));
        Student s4 = new Student(4,"陈小跑","女",17,1.67,LocalDate.of(2002,10,18), new BigDecimal(1111));

        students.put("jack",s1);
        students.put("tom",s2);
        students.put("kitty",s3);
        students.put("chenXiaoPao",s4);



    }
}
